<script setup>
import UserInfo from './UserInfo.vue'
import LoginButton from './LoginButton.vue'
import { getCurrentInstance } from "vue";

const { proxy } = getCurrentInstance();
</script>

<template>
  <login-button v-if="!proxy.$userStore.userInfo" />
  <user-info v-else :user-info="proxy.$userStore.userInfo" />
</template>
